package com.company.eureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * eureka server端，接受其他微服务注册进来
 * 同时该项目又是config client端，也即通过访问config server端获取项目配置文件信息
 */
@SpringBootApplication
@EnableEurekaServer
public class ConfigEurekaServer7001Application {

    public static void main(String[] args) {
        SpringApplication.run(ConfigEurekaServer7001Application.class, args);
    }
}
